Skip to content

Added minor correction to switch case logic#10

Open
uxrkhan wants to merge 2 commits intomortennobel:masterfrom
uxrkhan:master
Open

Added minor correction to switch case logic#10
uxrkhan wants to merge 2 commits intomortennobel:masterfrom
uxrkhan:master

Conversation

@uxrkhan
Copy link

@uxrkhan uxrkhan commented Aug 7, 2020

In order for the switch case shown to function as an if-else statement, a break statement was added after each case to separate them out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant